﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace S2_Xxxx_XxxNetApi
{
    public class C_Dept
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string ObjectID { get; set; }

        /// <summary>
        /// 部门编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 组织类型
        /// </summary>
        public string CategoryCode { get; set; }

        /// <summary>
        /// DingTalkID
        /// </summary>
        public int DingTalkID { get; set; }

        /// <summary>
        /// 是否根部门
        /// </summary>
        public int IsRootUnit { get; set; }

        /// <summary>
        /// LeaderID
        /// </summary>
        public string LeaderID { get; set; }

        /// <summary>
        /// WeChatID
        /// </summary>
        public string WeChatID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ChildrenInfo { get; set; }

        /// <summary>
        /// 部门描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public object Extend1 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public object Extend2 { get; set; }

        /// <summary>
        /// 是否是父节点
        /// </summary>
        public string IsParent { get; set; }

        /// <summary>
        /// 部门主管ID
        /// </summary>
        public string ManagerID { get; set; }

        /// <summary>
        /// 部门主管
        /// </summary>
        public string ManagerName { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 父ID
        /// </summary>
        public string ParentID { get; set; }

        /// <summary>
        /// 父节点名称
        /// </summary>
        public string ParentName { get; set; }

        /// <summary>
        /// 排序键
        /// </summary>
        public string SortKey { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string UnitID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string UnitType { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 部门全路径
        /// </summary>
        public string DeptPath { get; set; }

        /// <summary>
        /// 数据来源  （hrkey）
        /// </summary>
        public string SourceID { get; set; }

        
    }
}
